package com.cloud.drore.eboss.sso.dao;

import com.cloud.drore.eboss.sso.entity.ShiroRole;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;
import java.util.List;

@Transactional
@Service
public interface ShiroRoleDao  extends BaseDao<ShiroRole, Long> {
   
	 @Query("from ShiroRole")
	 public List<ShiroRole> findRoleList();
	 
	 
	 public ShiroRole findByRoleName(String roleName);
	 
	  
} 